import prisma from "~~/lib/prisma";

export default defineEventHandler(async () => {
  return await prisma.user.findMany({
    orderBy: { createdAt: "desc" },
  });
});
